package whf.shop.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;
import whf.shop.dao.ShopDAO;
import whf.shop.entity.Shop;

/**
 * 服务对象具体实现，委托相应的dao对象实现相关操作
 * 
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2007-01-11
 */
public class ShopServiceImp extends whf.framework.service.ServiceImp<Shop> implements
		ShopService {

	private ShopDAO shopDAO;

	public void setShopDAO(ShopDAO shopDAO) {
		this.shopDAO = shopDAO;
	}

	public static ShopService getShopService() throws ServiceNotFoundException {
		return (ShopService) BeanFactory.getService(ShopServiceImp.class);
	}

}